Interface StatementInterface

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\StatementInterface
Extends: StatementContainerInterface

Description

Methods

Name Description Defined By
execute() Execute StatementInterface
getParameterContainer() Get parameter container StatementContainerInterface
getResource() Get resource StatementInterface
getSql() Get sql StatementContainerInterface
isPrepared() Check if is prepared StatementInterface
prepare() Prepare sql StatementInterface
setParameterContainer() Set parameter container StatementContainerInterface
setSql() Set sql StatementContainerInterface

Method Details

execute()

Execute

Parameter Name Type Description
$parameters null|array|\ParameterContainer

Returns: \ResultInterface

getParameterContainer()

Get parameter container

Returns: mixed

getResource()

Get resource

Returns: resource

getSql()

Get sql

Returns: mixed

isPrepared()

Check if is prepared

Returns: bool

prepare()

Prepare sql

Parameter Name Type Description
$sql string

Returns:

setParameterContainer()

Set parameter container

Parameter Name Type Description
$parameterContainer \ParameterContainer

Returns: mixed

setSql()

Set sql

Parameter Name Type Description
$sql
$sql

Returns: mixed

Top